package com.kaifamiao.dao.impl;

import com.kaifamiao.dao.IAccountDao;
import com.kaifamiao.model.Account;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lucien-ma
 * @date 2021/8/26
 * @apiNote
 */
@Repository
public class IAccountDaoImpl implements IAccountDao {
    @Override
    public List<Account> findAll() {
        System.out.println("执行了查询所有方法::findAll");
        return null;
    }

    @Override
    public Account findById(Integer id) {
        System.out.println("执行了根据 id 查询的方法::findById");
        int a = 2 / 0;
        return null;
    }
}
